hvm: Fix TPMD and QEMU connection
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Dec 2007 10:43:06 +0000 (10:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Dec 2007 10:43:06 +0000 (10:43 +0000)
commitb8af4123ed9d2c39b4706724778c47b18b7e3e8f
treef26a8f39e34013a6fc437d23bb2b4bfdf808f470
parentbbe568ca78f47f3e7188154b35e53859d75f8472
hvm: Fix TPMD and QEMU connection

In HVM domain, MA_Transmit function in tcgbios sometimes become an
error (TCG_NO_RESPONSE). The cause of the error is not to make
connection of QEMU and TPMD instance within a timeout of MA_Transmit
function.

Before the MA_Transmit function was called, the attached patch
corrected so that connection of QEMU and TPMD might be completed.

Signed-off-by: Kouichi YASAKI <yasaki.kouichi@jp.fujitsu.com>
tools/ioemu/hw/tpm_tis.c